
<include file="inc:header" />
<div class="page" id='{$data.act}'>
<?php
	$back_url = U("uccenter/index");
	$back_page = "#Uccenter";
	$back_epage = $_REQUEST['epage']=="" ? "#uccenter" : "#".$_REQUEST['epage'];
?>
	<include file="inc:title" />
<div class="content infinite-scroll" now_page="1"  data-distance="{$data.rs_count}"  all_page="{$data.page.page_total}" ajaxurl="{:U('ucinterestrate/index')}">
<!-- 这里是页面内容区 -->
<!--我的加息券-->
<div class="blank15"></div>

<div class="doexchange_block">
	<div class="add_address">
		<a href="#" onclick="RouterURL('{:U('ucinterestrateexchange/index')}','#Ucinterestrateexchange',2);">
			<i class="fa fa-plus-square-o"></i>
			<span>兑换加息券</span>
		</a>
	</div>

</div>

<div class="blank15"></div>
<div class="invest">

<foreach name="data.item" item="ecv" key="key">
<div class="voucher_block" id="ir_block_{$key}" onclick="ItRexChageview('#ir_detail_{$key}')">
	<ul>
		<li class="f_l ecv_name">
         	{$ecv.name} <span class="f_red">x<if condition="$ecv.use_limit eq 0">无限<else/>{$ecv.use_limit}</if></span>
		</li>
		<li class="exlimit">
			<span class="name">使用期限:</span>
            {$ecv.limit_time}
		</li>
		<li class="price-box price-box-{$ecv.status} f_r ">
			<span class="price">
			{$ecv.rate_format}
			</span>
			<span>已使用:{$ecv.use_count}次</span>
			<span class="status status_{$ecv.status}"></span>
		</li>
	</ul>
</div>
<div class='ir_detail' id="ir_detail_{$key}">
	   <div class='ir_item'>
        	说明：
		   <if condition="$ecv.detail">	{$ecv.detail} <else/> 无</if>
		   <if condition=" $ecv.to_user_id eq 0">

       		<a class='i_send' onclick="ItRexChageview1('#ir_detail_{$key}')" href="#">转赠</a>
            </if>
       </div>
    	   <if condition="$ecv.to_user_id eq 0">
       <div class='ir_send '>
        	转赠用户名：<input name="user_name" class='f-input mainborder'/>
            <input type="hidden" name="id" value="{$ecv.i_id}"/>
            <a class='i_ok' href="#" onclick="ItRexChageview3(this,{$key});">确定</a>
       		<a class='i_send' rel="ir_detail_{$key}" onclick="ItRexChageview2('#ir_detail_{$key}');" href="#">取消</a>
       </div>
		   </if>
</div>
<div class="blank15"></div>
</foreach>


</div>
<!-- 加载提示符 -->
<div class="infinite-scroll-preloader">
  <div class="preloader">
  </div>
</div>
<include file="inc:footer" />





